/**
 * Created by IntelliJ IDEA.
 * User: scotthatcher
 * Date: Mar 23, 2010
 * Time: 11:05:35 AM
 * To change this template use File | Settings | File Templates.
 File: DrawFace.java
  * -------------------
  * * This program draws a GFace in the middle of the screen.
  */

 import acm.program.*;
 import acm.graphics.*;
 public class DrawFace extends GraphicsProgram {

     /** Width of face */
     private static final int FACE_WIDTH = 100;

     /** Height of face */
     private static final int FACE_HEIGHT = 200;

     public void run() {
         GFace face = new GFace(FACE_WIDTH, FACE_HEIGHT);
         add(face, (getWidth() - FACE_WIDTH) / 2,
                 (getHeight() - FACE_HEIGHT) / 2);
     }
 }
 